package com.uniview.service.orderType;

import com.uniview.entity.vo.Pager;
import com.uniview.entity.vo.orderType.Rma;

public interface RmaService {

    /**
     * 根据工号查找备件维修数据列表
     *
     * @param workNo
     * @param queryString
     * @param page
     * @param limit
     * @return
     * @throws Exception
     */
    public Pager<Rma> findRmaByWorkNo(String workNo, String queryString, int page, int limit) throws Exception;

    /**
     * 根据域账号获取RMA中用户的ID
     *
     * @param UserId
     * @return
     * @throws Exception
     */
    public String findOperatorByUserId(String UserId) throws Exception;

    /**
     * 根据RMA用户ID获取备件维修列表
     * @param operatorId
     * @param queryString
     * @param page
     * @param limit
     * @return
     * @throws Exception
     */
    public Pager<Rma> findRmaOrdersByWorkNo(String operatorId, String queryString, int page, int limit) throws Exception;
}
